package cn.gemiman.daoyi.module.iot.controller.admin.jhlequipmentdevice.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 精华隆设备信息 Response VO")
@Data
@ExcelIgnoreUnannotated
public class JhlEquipmentDeviceRespVO {

    @Schema(description = "设备ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "17222")
    @ExcelProperty("设备ID")
    private Integer id;

    @Schema(description = "布撤防状态", example = "2")
    @ExcelProperty("布撤防状态")
    private Integer armStatus;

    @Schema(description = "设备类型", example = "1")
    @ExcelProperty("设备类型")
    private String deviceType;

    @Schema(description = "卡号", example = "28565")
    @ExcelProperty("卡号")
    private Integer deviceIccid;

    @Schema(description = "在线状态", example = "2")
    @ExcelProperty("在线状态")
    private Integer onlineStatus;

    @Schema(description = "场所ID", example = "26242")
    @ExcelProperty("场所ID")
    private Integer placeId;

    @Schema(description = "设备名称", example = "王五")
    @ExcelProperty("设备名称")
    private String deviceName;

    @Schema(description = "父设备ID", example = "18424")
    @ExcelProperty("父设备ID")
    private Integer parentId;

    @Schema(description = "协议类型", example = "1")
    @ExcelProperty("协议类型")
    private Integer reportType;

    @Schema(description = "公司主域")
    @ExcelProperty("公司主域")
    private String mainCode;

    @Schema(description = "离线时间")
    @ExcelProperty("离线时间")
    private LocalDateTime lastOfflineTime;

    @Schema(description = "设备序列号")
    @ExcelProperty("设备序列号")
    private String deviceIdentifier;

    @Schema(description = "MAC")
    @ExcelProperty("MAC")
    private String mac;

    @Schema(description = "公司子域")
    @ExcelProperty("公司子域")
    private Integer subCode;

    @Schema(description = "上线时间")
    @ExcelProperty("上线时间")
    private LocalDateTime lastOnlineTime;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
